package org.rency.ues.dal.dao;

import org.rency.ues.dal.entity.CertificationDO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("certificationDao")
public interface CertificationDao {

	public List<CertificationDO> loadAll();
	
	public CertificationDO get(int id);
	
	public CertificationDO getBySerialNo(String serialNo);

	public CertificationDO getByEmail(String orgiEmail);
	
	public int insert(CertificationDO entity);
	
	public int delete(int id);

}